package com.studyv3.test.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.studyv3.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * lb_报废申请/审批视图对象 lb_apply_waste
 *
 * @author ruoyi
 * @date 2024-05-07
 */
@Data
@ExcelIgnoreUnannotated
public class ApplyWasteVo {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Integer id;

    /**
     * 申请人
     */
    @ExcelProperty(value = "申请人")
    private String applicant;

    /**
     * 报废品名称
     */
    @ExcelProperty(value = "报废品名称")
    private String objectName;

    /**
     * 报废品数量
     */
    @ExcelProperty(value = "报废品数量")
    private String objectAmount;

    /**
     * 申请状态 0 通过 1 未审批 2 未通过 
     */
    @ExcelProperty(value = "申请状态 0 通过 1 未审批 2 未通过 ")
    private Integer flag;

    /**
     * 0 未删除 1 删除
     */
    @ExcelProperty(value = "0 未删除 1 删除")
    private Integer deleted;

    /**
     * 报废物品所属批次
     */
    @ExcelProperty(value = "报废物品所属批次")
    private Integer batchId;
    private Integer productsId;
    private String rejectAdvice;
    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @Excel(name = "物品数量")
    @ApiModelProperty(value = "物品数量")
    @TableField("products_num")
    private Long productsNum;

    @Excel(name = "报废申请的数量")
    @ApiModelProperty(value = "待报废的数量")
    @TableField("products_unqualified")
    private Long productsUnqualified;

    @Excel(name = "领用申请中的数量")
    @ApiModelProperty(value = "申请中的数量")
    @TableField("products_apply")
    private Long productsApply;
}
